class AddIndexesToBlogPosts < ActiveRecord::Migration
  def change
    add_index :blog_posts, :user_id
    add_index :blog_posts, :topic_id
    add_index :blog_posts, :published
  end
end
